<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理菜们</title>
<script type="text/javascript" src="../util/prototype.js"></script>
<script type="text/javascript" src="../util/Tool.js"></script>
<script type="text/javascript" src="../util/Utils.js"></script>
<script type="text/javascript" src="msnacks_Script.js"></script>
<link rel='stylesheet' type='text/css' href='../theme/style.css'/>
</head>
<body>
<div id="newSnackDiv">
<form id="addSnackForm" action="../bin/updateSnack.php" method="post" onsubmit="return verifyAddSnack()" ENCTYPE="multipart/form-data">
<input type="hidden" name="op"/>
<input type="hidden" name="from"/>
<table>
<tr>
<td>编号</td><td><input type="text" name="snackID" value="-1" readOnly="true"/></td>
</tr>
<tr>
<td>菜名</td><td><input type="text" name="snackName" value=""/></td>
</tr>
<tr>
<td>价格</td><td><input type="text" name="snackPrice" value=""/></td>
</tr>
<tr>
<td>描述</td><td><input type="text" name="snackRemarks" value=""/></td>
</tr>
<tr>
<td>图片名称</td><td><input type="text" name="picUrl"/></td>
</tr>
<tr>
<td>图片</td><td><input type="file" name="upFile"/></td>
</tr>
</table>
<div>
<input type="submit" value="确定"/>
<input type="reset" value="清空"/>
<input type="button" value="更新文件" onclick="updateXML()"/>
</div>
</form>
</div>
<div id="snacksDiv">
</div>
<a href="#" id="refreshBtn" onclick="refreshSnacks()">刷新菜</a>
<script type="text/javascript">
//<![CDATA[
   init();
//]]>
</script>
</body>
</html>